package com.cade.agriculturemall.view.personalCenter.ordersManage;

import com.cade.agriculturemall.base.IBasePresenter;
import com.cade.agriculturemall.base.IBaseView;
import com.cade.agriculturemall.model.OrderEntity;
import com.cade.agriculturemall.model.ShoppingCarsEntity;

import java.util.HashMap;
import java.util.List;

/**
 * Created by hshunxin on 2018/1/29.
 */

public interface MyOrdersContract {
    interface IView extends IBaseView {
        void onDownloadEntity(HashMap<OrderEntity, List<ShoppingCarsEntity>> hashMap);

        void doViewRefresh(OrderEntity orderEntity);

        void showDialog();

        void deleteSuccess();

        void deleteFail();
    }

    interface IPresenter extends IBasePresenter {
        void downLoadAllEntity(int type);

        void orderStatusChange(final OrderEntity orderEntity, String status);

        void goodsDelete(OrderEntity orderEntity);

    }
}
